
import Vue from 'vue';
import VueRouter from 'vue-router';
import App from './App.vue';

require('./assets/normalize.css');
require('./assets/fonts/iconfont.css');

import EcElement from './packages/';

Vue.use(EcElement);

//router
Vue.use(VueRouter);
var routes = require('./router');
var router = new VueRouter({
  routes
});

new Vue({
  el: '#app',
  router,
  render: h => h(App)
});
